package com.sztx.pay.center.core.service.bean;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class ActRsp implements Serializable {
    
	String userId;
	/**
     * 账户号
     */
    String actNo;
    /**
     * 账户类型
     */
    int actType;
    
    long actBalance;
    long freezeBalance;
    int actState;
    Date createTime;
    Date modifyTime;
    Date balanceTime;
    
    String actSign;
    

    public String getActSign() {
        return actSign;
    }

    public void setActSign(String actSign) {
        this.actSign = actSign;
    }

    public String getActNo() {
        return actNo;
    }

    public void setActNo(String actNo) {
        this.actNo = actNo;
    }

    public int getActType() {
        return actType;
    }

    public void setActType(int actType) {
        this.actType = actType;
    }

    public long getActBalance() {
        return actBalance;
    }

    public void setActBalance(long actBalance) {
        this.actBalance = actBalance;
    }

    public long getFreezeBalance() {
        return freezeBalance;
    }

    public void setFreezeBalance(long freezeBalance) {
        this.freezeBalance = freezeBalance;
    }

    public int getActState() {
        return actState;
    }

    public void setActState(int actState) {
        this.actState = actState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getBalanceTime() {
        return balanceTime;
    }

    public void setBalanceTime(Date balanceTime) {
        this.balanceTime = balanceTime;
    }

    public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (actBalance ^ (actBalance >>> 32));
		result = prime * result + ((actNo == null) ? 0 : actNo.hashCode());
		result = prime * result + ((actSign == null) ? 0 : actSign.hashCode());
		result = prime * result + actState;
		result = prime * result + actType;
		result = prime * result
				+ ((balanceTime == null) ? 0 : balanceTime.hashCode());
		result = prime * result
				+ ((createTime == null) ? 0 : createTime.hashCode());
		result = prime * result
				+ (int) (freezeBalance ^ (freezeBalance >>> 32));
		result = prime * result
				+ ((modifyTime == null) ? 0 : modifyTime.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ActRsp other = (ActRsp) obj;
		if (actBalance != other.actBalance)
			return false;
		if (actNo == null) {
			if (other.actNo != null)
				return false;
		} else if (!actNo.equals(other.actNo))
			return false;
		if (actSign == null) {
			if (other.actSign != null)
				return false;
		} else if (!actSign.equals(other.actSign))
			return false;
		if (actState != other.actState)
			return false;
		if (actType != other.actType)
			return false;
		if (balanceTime == null) {
			if (other.balanceTime != null)
				return false;
		} else if (!balanceTime.equals(other.balanceTime))
			return false;
		if (createTime == null) {
			if (other.createTime != null)
				return false;
		} else if (!createTime.equals(other.createTime))
			return false;
		if (freezeBalance != other.freezeBalance)
			return false;
		if (modifyTime == null) {
			if (other.modifyTime != null)
				return false;
		} else if (!modifyTime.equals(other.modifyTime))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}

    @Override
    public String toString() {
        return "ActRsp [actNo=" + actNo + ", actType=" + actType + ","
        		+ " actBalance=" + actBalance + ", freezeBalance="
                + freezeBalance + ", actState=" + actState + ", createTime="
                + createTime + ", modifyTime=" + modifyTime + ", balanceTime="
                + balanceTime + ", actSign=" + actSign + ", userId=" + userId
                + "]";
    }

}
